package com.ethink.order.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ethink.framework.common.db.SuperEntity;

/**
 * TOC销售单导入日志 数据库实体
 *
 * @author default
 * @date 2022-11-22
 */
@Data
@TableName("t_toc_sale_import_log")
public class TocSaleImportLog extends SuperEntity {

    public static final String ORDER_TYPE ="order_type";

    public static final String ORDER_STATUS ="order_status";

    public static final String SALE_CHANNEL ="sale_channel";

    public static final String SALE_SUB_CHANNEL ="sale_sub_channel";

    public static final String SHOP_CODE ="shop_code";

    public static final String SHOP_NAME ="shop_name";

    public static final String CURRENCY_CODE ="currency_code";

    public static final String CURRENCY_NAME ="currency_name";

    public static final String SETTLE_MODEL ="settle_model";

    public static final String SETTLE_COMPANY_CODE ="settle_company_code";

    public static final String SETTLE_COMPANY_NAME ="settle_company_name";

    public static final String ACCOUNT ="account";

    public static final String BANK ="bank";

    public static final String CREATE_USER_CODE ="create_user_code";

    public static final String CREATE_USER_NAME ="create_user_name";


    /** 枚举 订单类型:1-零售业务(t1)|2-代销售(t2)|3-代发货(s3) */
    private Integer orderType;

    /** 枚举 订单状态:1-草稿(s1)|2-已提交(s2) */
    private Integer orderStatus;

    /** 订单来源 */
    private String saleChannel;

    /** 订单来源下级 */
    private String saleSubChannel;

    /** 网店code */
    private String shopCode;

    /** 网店名称 */
    private String shopName;

    /** 货币编码 */
    private String currencyCode;

    /** 货币名称 */
    private String currencyName;

    /** 枚举 结算方式:1-先款后货(t1)|2-先货后款(t2)|3-分期付款(t3)|4-其他(t4) */
    private Integer settleModel;

    /** 收款公司code */
    private String settleCompanyCode;

    /** 收款公司name */
    private String settleCompanyName;

    /** 收款公司账户账号 */
    private String account;

    /** 收款公司账户银行名称 */
    private String bank;

    /** 制单人账号 */
    private String createUserCode;

    /** 制单人名称 */
    private String createUserName;

}
